﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XiaLastorm.Sharpshooter
{
	/// <summary>
	/// 添加聊天记录事件的日志
	/// </summary>
	public class ChatLogAddedEventArgs : EventArgs
	{
		/// <summary>
		/// 添加的聊天记录
		/// </summary>
		public ChatLog AddedChatLog { get; set; }

		/// <summary>
		/// 生成 <see cref="ChatLogAddedEventArgs"/> class 的新实例。
		/// </summary>
		/// <param name="addedChatLog">添加的聊天记录</param>
		public ChatLogAddedEventArgs(ChatLog addedChatLog)
		{
			if (addedChatLog == null)
				throw new ArgumentNullException("addedChatLog");
			AddedChatLog = addedChatLog;
		}
	}
}
